package com.wxl.micro.service.order.feign;

import org.springframework.stereotype.Component;

@Component
public class WmsFeignClientFaillback implements WmsFeignClient {

    @Override
    public String delivery(String orderId) {
        System.out.println("wms-service降级了delivery");
        return "wms-service降级了delivery";
    }

    @Override
    public String timeout() {
        System.out.println("wms-service降级了timeout");
        return "wms-service降级了timeout";
    }

    @Override
    public String exception() {
        System.out.println("wms-service降级了exception");
        return "wms-service降级了exception";
    }

    @Override
    public String post(String id) {
        System.out.println("wms-service降级了post");
        return "wms-service降级了post";
    }

}
